import request from '@/utils/request'
//海创首页列表数据
export function getAdminList(query) {
  return request({
    url: '/licensekey/licensekey/list',
    method: 'get',
	params: query
  })
}



//工厂首页列表数据
export function getList(query) {
  return request({
    url: '/licensekey/licensekeyFactory/list',
    method: 'get',
	 params: query
  })
}
//管理员首页统计数据
export function getTotalKey() {
  return request({
    url: '/licensekey/licensekey/totalKey',
    method: 'get',
  })
}
//工厂首页统计数据
export function getFactoryTotalKey(query) {
  return request({
    url: '/licensekey/licensekeyFactory/totalKey',
    method: 'get',
	params: query
  })
}